package com.shujunjun.project.feign;

import com.shujunjun.project.entity.dto.ProjectDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(name = "project", url = "${shujunjun.project.url:}")
public interface IProjectFeign {

    @GetMapping(value = "project")
    List<ProjectDTO> list();
}
